<?php

/**
 * Default Handler Class
 * @author ReGeDa
 * @events :page
 */
class Welcome_Handler extends Event_Handler {
    
	/**
	 * Default start page
	 */
	public function on_page() {

		is_user_session();

		platcode()->lang->load('workbench');
		
		// import javascript
		platcode()->plugins->import('JavaScript')
			->lang('global-lang')
			->lib(array('p-common','jd-animate','blog'));

		$this->output->prepare_xslt('index');
	}
}

// end of file